{
    "variables": {
        "collect_msgs_dir": "../../msgs/napi"
    },
    "targets": [
        {
            "target_name": "test_msg_napi",
            "sources": [
                "<(collect_msgs_dir)/napi_msg_init.cpp",
                "test_msg_napi.cpp"
            ],
            "include_dirs": [
                "./include",
                "<(collect_msgs_dir)",
                "../../..",
                "../../../build/generated"
            ],
            "dependencies": [
            ],
            "cflags": [
                "-std=c++17", "-Wno-conversion-null", "-Wno-unused-variable", "-g"
            ],
            "cflags_cc": [
                "-std=c++17", "-Wno-conversion-null", "-Wno-unused-variable", "-g"
            ],
            "cflags!": ["-fno-exceptions"],
            "cflags_cc!": ["-fno-exceptions"],
            "defines": [
                "NAPI_DISABLE_CPP_EXCEPTIONS"
            ],
            "conditions": [
                ["OS=='linux'", {
                    "cflags": [
                        "-fPIC"
                    ],
                    "cflags_cc": [
                        "-fPIC"
                    ]
                }]
            ]
        }
    ]
}